package com.qianji.petmall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.cache.CacheProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableCaching
@SpringBootApplication
@MapperScan("com.qianji.petmall.product.dao")
@EnableDiscoveryClient
@EnableFeignClients
@EnableConfigurationProperties(CacheProperties.class)
@EnableRedisHttpSession
/**
 *
 */
public class PetmallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(PetmallProductApplication.class, args);
    }

}
